<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>管理平台</title>
<style type="text/css">
<!--
html{border-right: solid 1px #9ad452;}
*{padding:0px;margin:0px;}
body {margin:0px;font-family:"宋体";width: 181px;height: 569px;}
.menuTitle{width:133px;height:20px;cursor:pointer;color:#339933;font-size:14px;line-height:20px;background:;}
.menuItem{list-style:none;padding:0px 0px 0px 13px;}
.menuItem li{font-size:12px;height:16px;line-height:16px;}
.menuItem li a{color:#0d79cc;text-decoration:none;}
.menuItem li a:hover{color:#ff9900;}
-->
</style>
</head>

<body>
<table style="width:181px;" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td style="width:3px;background:url(${basePath}/admin/images/main_40.gif) left top repeat-y" height="100%"></td>
		<td style="width:177px;" height="100%">
		<table style="width:177px;height:100%" border="0" cellpadding="0" cellspacing="0">
			<tr><td valign="top" >
				<table style="width:100%;height:100%;" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed">
					<tr><td style="height:26px;background:url(${basePath}/admin/images/main_21.gif)"></td></tr>
					<tr><td style="height:100%;background:url(${basePath}/admin/images/main_23.gif) left top repeat-x;">
						<!-- 操作菜单 -->
						<div style="margin:10px 0px 0px 0px;padding:22px;">
							<#list menuList as menuMap>
								<div class="menuTitle" onclick="toggleMenuItem(${menuMap_index+1})">${menuMap.get("menuTitle")}</div>
								<ul class="menuItem" id="menuItem${menuMap_index+1}">
									<#list menuMap.get("subMenus") as subMenuMap>
									<li><a href='${basePath}${subMenuMap.get("url")}' target="mainframe">${subMenuMap.get("name")}</a></li>
									</#list>
								</ul>
							</#list>
						</div>
					</td></tr>
				</table>
			</td></tr>
		</table>
		</td>
	</tr>
</table>
<script type="text/javascript">
var totalMenu = parseInt(${menuList?size});
function toggleMenuItem(index){
	var obj = document.getElementById('menuItem'+index);
	if(obj.style.display=="none"){
		obj.style.display="block";
	}else{
		obj.style.display="none";
	}
}
</script>
</body>
</html>
